package coop.bancocredicoop.proyectos.gd;

import java.io.InputStream;

import coop.bancocredicoop.proyectos.gd.fileListing.DocumentBrowser;

public class DocumentStream implements SourceDocument {

    private InputStream is = null;

    public DocumentStream(InputStream is) {
        this.is = is;
    }

    public InputStream getInputStream() throws Exception {
    	return this.is;
    }
    
    public void documentCreated(DocumentBrowser documentBrowser) {
    	documentBrowser.documentCreated(this);
    }
	
}
